<template>
  <div class="newList">
      <group class="listed">
          <cell align-items="flex-start" :link="{ path: '/twos/newsdetail',query:{nid:item.id}}" v-for='item in lists' :key="item.id">
              <img :src="item.photo" class="newslist-img" slot="icon" alt="" />
              <div class="newslist-title" slot="title">
                  {{item.title}}
                  <p>{{item.add_time}}</p>
              </div>
              <div class="newslist-desc" slot="inline-desc">
                  {{item.two_title}}
              </div>
          </cell>
      </group>
  </div>
</template>
<script>
import { Group, Cell } from 'vux'
export default {
  name: "NewsList",
  components:{
      Group,Cell
  },
  props:['lists'],
  data: () => ({

  })
}
</script>
<style lang="less" >

</style>
